package com.dai.spec.gxk.vo;

import com.dai.spec.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MyStudentVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 学号
     */
    @Excel(name = "学号")
    private String studentNumber;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String name;

    /**
     * 专业
     */
    @Excel(name = "专业")
    private String speciality;

    /**
     * 性别
     * '0'男，
     * ‘1’女
     */
    @Excel(name = "性别")
    private String sex;

    /**
     * 电话号码
     */
    @Excel(name = "电话号码")
    private String phoneNumber;

    /**
     * 年龄
     */
    @Excel(name = "年龄")
    private Long age;

    /**
     * 课程名称
     */
    @Excel(name = "课程名称")
    private String courseName;

    /**
     * 课程周期
     * ‘0’ 8周，
     * ‘1’ 16周
     */
    private String courseCycle;

    /**
     * 开课时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    /**
     * 上课地点
     */
    private String location;

    /**
     *  开课类型
     *  ‘0’ 线上
     *  ‘1’ 线下
     */
    @Excel(name = "开课类型")
    private String deliveryType;

}
